package com.example.producer.config;

import org.springframework.amqp.core.FanoutExchange;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FanoutRabbitConfig {
    @Bean
    FanoutExchange TestFanoutExchange() {
        return new FanoutExchange("TestFanoutExchange", true, false);
    }
}

